
if "%1"=="" ( set /a threadcount=1 ) else ( set /a threadcount=%1 )
if "%2"=="" ( set /a testsize=10000 ) else ( set /a testsize=%2 )
if "%3"=="" ( set serveraddress=hzj-jie-x31 ) else ( set serveraddress=%3 )
if "%4"=="" ( set serverport=42331 ) else ( set serverport=%4 )
for /f %%x in ('date /t ^| replacew /- /- / -') do (set date=%%x)
for /f %%x in ('time /t ^| replacew /- /- : _') do (set time=%date%_%%x)
REM do not support multi-thread for amutest2
REM for /l %%x in (1,1,%threadcount%) do (start cmd "/c 
storclient -host %serveraddress% -port %serverport% -testsize %testsize% -amutest2 1>> amutest2_%time%.txt 2>&1
REM " )
